home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
News Box.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
1KB
|
71 lines
[SUBJECT]
Description=Displays several messages off-line
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var pos1=0, pos2=0, Fin2;
;MsgN="`message`";
;newDelay = `delay`;
;function TexteMultiligne() {
; if (pos1 > MsgN.length) {
; document.formnouv.multi1.value = '';
; pos1 = 0;
; pos2 = 0;
; }
; else if (MsgN.substring(pos1-2,pos1-1) == '.') {
; document.formnouv.multi1.value = '';
; pos2 = pos1-1;
; pos1++;
; }
; else {
; document.formnouv.multi1.value = MsgN.substring(pos1,pos2);
; pos1++;
; }
; Fin2 = setTimeout("TexteMultiligne() ", newDelay);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad="TexteMultiligne();" onUnload="clearTimeout(Fin2)"
[BODY_TEXT]
;<FORM NAME="formnouv">
;<TEXTAREA NAME="multi1" WRAP=PHYSICAL COLS="`columns`" ROWS="`rows`"></TEXTAREA>
;</FORM>
;
[`message`]
Kind=S
Value=This is a message!
[`delay`]
Kind=N
Value=100
[`columns`]
Kind=N
Value=40
[`rows`]
Kind=N
Value=8